<template>  
    <el-drawer v-model="drawer" title="I am the title" :with-header="false">
      <span>Hi there!</span>
    </el-drawer>
</template>
  
<script lang="ts" setup>
  import { ref, defineExpose} from 'vue'
  const drawer = ref(false)
  const open = () => {
    drawer.value = true
}
defineExpose({open})
</script>
  